<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.ogilvy.cms.bean.CmsPageVersions" table="CMS_PAGE_VERSIONS" >
        <id name="cpveId" type="java.lang.Integer">
            <column name="CPVE_ID" />
            <generator class="native"/>
        </id>
        <property name="cpveCmpId" type="java.lang.Integer">
            <column name="CPVE_CMP_ID" not-null="true" />
        </property>
        <property name="cpveVersionsName" type="java.lang.String">
            <column name="CPVE_VERSIONS_NAME" length="50" not-null="true" />
        </property>
        <property name="cpveCmpContent" type="java.lang.String">
            <column name="CPVE_CMP_CONTENT" />
        </property>
        <property name="cpveComments" type="java.lang.String">
            <column name="CPVE_COMMENTS" length="400" />
        </property>
        <property name="cpveAddtime" type="java.util.Date">
            <column name="CPVE_ADDTIME" not-null="true"/>
        </property>
        <property name="cpveAdduser" type="java.lang.String">
            <column name="CPVE_ADDUSER" length="50" not-null="true" />
        </property>
    </class>
</hibernate-mapping>
